how to get year in react

151

how to get year in react -

getYear() {
    return new Date().getFullYear();
}

Comments

Submit
0 Comments